package com.vegetable.modules.entity.quotation;

import com.vegetable.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description quotation
 * @author BEJSON
 * @date 2024-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="报价单日志", description="报价单日志")
public class QuotationLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 报价单ID
     */
    @ApiModelProperty(value = "报价单ID")
    private Long quotationId;

    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格")
    private BigDecimal topPrice;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal lowPrice;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "报价时间")
    private Date orderTime;

    @ApiModelProperty(value = "规格id")
    private Long specsId;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;
}
